//
//  ZItem.h
//  Zlottery
//
//  Created by HuaYingJiTuan on 16/1/11.
//  Copyright © 2016年 张庆庆. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef void (^ZItemArrowOPtion)();
@interface ZItem : NSObject
//纪录跳转的目标控制器
@property (nonatomic, assign) Class destController;
//纪录一个执行方法
@property (nonatomic, copy) ZItemArrowOPtion option;

@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *subTitle;

@property (nonatomic, copy) NSString *icon;

@property (nonatomic, copy) NSString *time;

+ (instancetype)itemWithTitle:(NSString *)title;
+ (instancetype)itemWithTitle:(NSString *)title subTitle:(NSString *)subTitle;

+ (instancetype)itemWithTitle:(NSString *)title icon:(NSString *)icon;
@end
